package com.javaxiaobear.module.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;

/**
 * 用户和岗位关联 sys_user_post
 *
 * @author javaxiaobear
 */
@Table(value = "sys_user_post")
@Data
public class SysUserPost {
  /** 用户ID */
  @Id
  @Column(value = "user_id")
  private Long userId;

  /** 岗位ID */
  @Id
  @Column(value = "post_id")
  private Long postId;
}
